home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 2339 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  553 b 

  1. Path: news.micron.net!news
  2. From: ssharpe <ssharpe@micron.net>
  3. Newsgroups: comp.lang.c
  4. Subject: Need help with SPAWN use!
  5. Date: 20 Jan 1996 18:46:24 GMT
  6. Organization: Micron Internet Services
  7. Message-ID: <4drda0$okm@is05.micron.net>
  8. NNTP-Posting-Host: cs007p13.mtn.micron.net
  9.  
  10. I'm trying to execute PKZIP from within my C program and errno
  11. consistently reports -1.  I'm using Turbo C/C++ V3.0.  I tried the
  12. system command (system("pkzip");) without success and I tried spawn
  13. (spawnlp(P_WAIT,"pkzip",NULL);).  Pkzip is in my DOS path.
  14. Thanks, in advance.
  15.